﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FE9 RID: 4073
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournCurGameInfo : IMessage<RogueTournCurGameInfo>, IMessage, IEquatable<RogueTournCurGameInfo>, IDeepCloneable<RogueTournCurGameInfo>, IBufferMessage
	{
		// Token: 0x17003384 RID: 13188
		// (get) Token: 0x0600B626 RID: 46630 RVA: 0x001EBA02 File Offset: 0x001E9C02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournCurGameInfo> Parser
		{
			get
			{
				return RogueTournCurGameInfo._parser;
			}
		}

		// Token: 0x17003385 RID: 13189
		// (get) Token: 0x0600B627 RID: 46631 RVA: 0x001EBA09 File Offset: 0x001E9C09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournCurGameInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003386 RID: 13190
		// (get) Token: 0x0600B628 RID: 46632 RVA: 0x001EBA1B File Offset: 0x001E9C1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournCurGameInfo.Descriptor;
			}
		}

		// Token: 0x0600B629 RID: 46633 RVA: 0x001EBA22 File Offset: 0x001E9C22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurGameInfo()
		{
		}

		// Token: 0x0600B62A RID: 46634 RVA: 0x001EBA2C File Offset: 0x001E9C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurGameInfo(RogueTournCurGameInfo other) : this()
		{
			this.gameDifficultyInfo_ = ((other.gameDifficultyInfo_ != null) ? other.gameDifficultyInfo_.Clone() : null);
			this.miracleInfo_ = ((other.miracleInfo_ != null) ? other.miracleInfo_.Clone() : null);
			this.level_ = ((other.level_ != null) ? other.level_.Clone() : null);
			this.tournFormulaInfo_ = ((other.tournFormulaInfo_ != null) ? other.tournFormulaInfo_.Clone() : null);
			this.unlockValue_ = ((other.unlockValue_ != null) ? other.unlockValue_.Clone() : null);
			this.tournModuleInfo_ = ((other.tournModuleInfo_ != null) ? other.tournModuleInfo_.Clone() : null);
			this.rogueTournGameAreaInfo_ = ((other.rogueTournGameAreaInfo_ != null) ? other.rogueTournGameAreaInfo_.Clone() : null);
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this.itemValue_ = ((other.itemValue_ != null) ? other.itemValue_.Clone() : null);
			this.buff_ = ((other.buff_ != null) ? other.buff_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B62B RID: 46635 RVA: 0x001EBB68 File Offset: 0x001E9D68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurGameInfo Clone()
		{
			return new RogueTournCurGameInfo(this);
		}

		// Token: 0x17003387 RID: 13191
		// (get) Token: 0x0600B62C RID: 46636 RVA: 0x001EBB70 File Offset: 0x001E9D70
		// (set) Token: 0x0600B62D RID: 46637 RVA: 0x001EBB78 File Offset: 0x001E9D78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGameDifficultyInfo GameDifficultyInfo
		{
			get
			{
				return this.gameDifficultyInfo_;
			}
			set
			{
				this.gameDifficultyInfo_ = value;
			}
		}

		// Token: 0x17003388 RID: 13192
		// (get) Token: 0x0600B62E RID: 46638 RVA: 0x001EBB81 File Offset: 0x001E9D81
		// (set) Token: 0x0600B62F RID: 46639 RVA: 0x001EBB89 File Offset: 0x001E9D89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracleInfo MiracleInfo
		{
			get
			{
				return this.miracleInfo_;
			}
			set
			{
				this.miracleInfo_ = value;
			}
		}

		// Token: 0x17003389 RID: 13193
		// (get) Token: 0x0600B630 RID: 46640 RVA: 0x001EBB92 File Offset: 0x001E9D92
		// (set) Token: 0x0600B631 RID: 46641 RVA: 0x001EBB9A File Offset: 0x001E9D9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLevelInfo Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x1700338A RID: 13194
		// (get) Token: 0x0600B632 RID: 46642 RVA: 0x001EBBA3 File Offset: 0x001E9DA3
		// (set) Token: 0x0600B633 RID: 46643 RVA: 0x001EBBAB File Offset: 0x001E9DAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaInfo TournFormulaInfo
		{
			get
			{
				return this.tournFormulaInfo_;
			}
			set
			{
				this.tournFormulaInfo_ = value;
			}
		}

		// Token: 0x1700338B RID: 13195
		// (get) Token: 0x0600B634 RID: 46644 RVA: 0x001EBBB4 File Offset: 0x001E9DB4
		// (set) Token: 0x0600B635 RID: 46645 RVA: 0x001EBBBC File Offset: 0x001E9DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KeywordUnlockValue UnlockValue
		{
			get
			{
				return this.unlockValue_;
			}
			set
			{
				this.unlockValue_ = value;
			}
		}

		// Token: 0x1700338C RID: 13196
		// (get) Token: 0x0600B636 RID: 46646 RVA: 0x001EBBC5 File Offset: 0x001E9DC5
		// (set) Token: 0x0600B637 RID: 46647 RVA: 0x001EBBCD File Offset: 0x001E9DCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournModuleInfo TournModuleInfo
		{
			get
			{
				return this.tournModuleInfo_;
			}
			set
			{
				this.tournModuleInfo_ = value;
			}
		}

		// Token: 0x1700338D RID: 13197
		// (get) Token: 0x0600B638 RID: 46648 RVA: 0x001EBBD6 File Offset: 0x001E9DD6
		// (set) Token: 0x0600B639 RID: 46649 RVA: 0x001EBBDE File Offset: 0x001E9DDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGameAreaInfo RogueTournGameAreaInfo
		{
			get
			{
				return this.rogueTournGameAreaInfo_;
			}
			set
			{
				this.rogueTournGameAreaInfo_ = value;
			}
		}

		// Token: 0x1700338E RID: 13198
		// (get) Token: 0x0600B63A RID: 46650 RVA: 0x001EBBE7 File Offset: 0x001E9DE7
		// (set) Token: 0x0600B63B RID: 46651 RVA: 0x001EBBEF File Offset: 0x001E9DEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x1700338F RID: 13199
		// (get) Token: 0x0600B63C RID: 46652 RVA: 0x001EBBF8 File Offset: 0x001E9DF8
		// (set) Token: 0x0600B63D RID: 46653 RVA: 0x001EBC00 File Offset: 0x001E9E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGameItemValue ItemValue
		{
			get
			{
				return this.itemValue_;
			}
			set
			{
				this.itemValue_ = value;
			}
		}

		// Token: 0x17003390 RID: 13200
		// (get) Token: 0x0600B63E RID: 46654 RVA: 0x001EBC09 File Offset: 0x001E9E09
		// (set) Token: 0x0600B63F RID: 46655 RVA: 0x001EBC11 File Offset: 0x001E9E11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueBuffInfo Buff
		{
			get
			{
				return this.buff_;
			}
			set
			{
				this.buff_ = value;
			}
		}

		// Token: 0x0600B640 RID: 46656 RVA: 0x001EBC1A File Offset: 0x001E9E1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournCurGameInfo);
		}

		// Token: 0x0600B641 RID: 46657 RVA: 0x001EBC28 File Offset: 0x001E9E28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournCurGameInfo other)
		{
			return other != null && (other == this || (object.Equals(this.GameDifficultyInfo, other.GameDifficultyInfo) && object.Equals(this.MiracleInfo, other.MiracleInfo) && object.Equals(this.Level, other.Level) && object.Equals(this.TournFormulaInfo, other.TournFormulaInfo) && object.Equals(this.UnlockValue, other.UnlockValue) && object.Equals(this.TournModuleInfo, other.TournModuleInfo) && object.Equals(this.RogueTournGameAreaInfo, other.RogueTournGameAreaInfo) && object.Equals(this.Lineup, other.Lineup) && object.Equals(this.ItemValue, other.ItemValue) && object.Equals(this.Buff, other.Buff) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B642 RID: 46658 RVA: 0x001EBD24 File Offset: 0x001E9F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.gameDifficultyInfo_ != null)
			{
				num ^= this.GameDifficultyInfo.GetHashCode();
			}
			if (this.miracleInfo_ != null)
			{
				num ^= this.MiracleInfo.GetHashCode();
			}
			if (this.level_ != null)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.tournFormulaInfo_ != null)
			{
				num ^= this.TournFormulaInfo.GetHashCode();
			}
			if (this.unlockValue_ != null)
			{
				num ^= this.UnlockValue.GetHashCode();
			}
			if (this.tournModuleInfo_ != null)
			{
				num ^= this.TournModuleInfo.GetHashCode();
			}
			if (this.rogueTournGameAreaInfo_ != null)
			{
				num ^= this.RogueTournGameAreaInfo.GetHashCode();
			}
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this.itemValue_ != null)
			{
				num ^= this.ItemValue.GetHashCode();
			}
			if (this.buff_ != null)
			{
				num ^= this.Buff.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B643 RID: 46659 RVA: 0x001EBE26 File Offset: 0x001EA026
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B644 RID: 46660 RVA: 0x001EBE2E File Offset: 0x001EA02E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B645 RID: 46661 RVA: 0x001EBE38 File Offset: 0x001EA038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.miracleInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.MiracleInfo);
			}
			if (this.buff_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.Buff);
			}
			if (this.gameDifficultyInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.GameDifficultyInfo);
			}
			if (this.tournFormulaInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.TournFormulaInfo);
			}
			if (this.unlockValue_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.UnlockValue);
			}
			if (this.rogueTournGameAreaInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.RogueTournGameAreaInfo);
			}
			if (this.level_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.Level);
			}
			if (this.lineup_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.Lineup);
			}
			if (this.tournModuleInfo_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.TournModuleInfo);
			}
			if (this.itemValue_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.ItemValue);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B646 RID: 46662 RVA: 0x001EBF74 File Offset: 0x001EA174
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.gameDifficultyInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GameDifficultyInfo);
			}
			if (this.miracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MiracleInfo);
			}
			if (this.level_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Level);
			}
			if (this.tournFormulaInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournFormulaInfo);
			}
			if (this.unlockValue_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.UnlockValue);
			}
			if (this.tournModuleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournModuleInfo);
			}
			if (this.rogueTournGameAreaInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournGameAreaInfo);
			}
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this.itemValue_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ItemValue);
			}
			if (this.buff_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Buff);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B647 RID: 46663 RVA: 0x001EC08C File Offset: 0x001EA28C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournCurGameInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.gameDifficultyInfo_ != null)
			{
				if (this.gameDifficultyInfo_ == null)
				{
					this.GameDifficultyInfo = new RogueTournGameDifficultyInfo();
				}
				this.GameDifficultyInfo.MergeFrom(other.GameDifficultyInfo);
			}
			if (other.miracleInfo_ != null)
			{
				if (this.miracleInfo_ == null)
				{
					this.MiracleInfo = new ChessRogueMiracleInfo();
				}
				this.MiracleInfo.MergeFrom(other.MiracleInfo);
			}
			if (other.level_ != null)
			{
				if (this.level_ == null)
				{
					this.Level = new RogueTournLevelInfo();
				}
				this.Level.MergeFrom(other.Level);
			}
			if (other.tournFormulaInfo_ != null)
			{
				if (this.tournFormulaInfo_ == null)
				{
					this.TournFormulaInfo = new RogueTournFormulaInfo();
				}
				this.TournFormulaInfo.MergeFrom(other.TournFormulaInfo);
			}
			if (other.unlockValue_ != null)
			{
				if (this.unlockValue_ == null)
				{
					this.UnlockValue = new KeywordUnlockValue();
				}
				this.UnlockValue.MergeFrom(other.UnlockValue);
			}
			if (other.tournModuleInfo_ != null)
			{
				if (this.tournModuleInfo_ == null)
				{
					this.TournModuleInfo = new RogueTournModuleInfo();
				}
				this.TournModuleInfo.MergeFrom(other.TournModuleInfo);
			}
			if (other.rogueTournGameAreaInfo_ != null)
			{
				if (this.rogueTournGameAreaInfo_ == null)
				{
					this.RogueTournGameAreaInfo = new RogueTournGameAreaInfo();
				}
				this.RogueTournGameAreaInfo.MergeFrom(other.RogueTournGameAreaInfo);
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new RogueTournLineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			if (other.itemValue_ != null)
			{
				if (this.itemValue_ == null)
				{
					this.ItemValue = new RogueGameItemValue();
				}
				this.ItemValue.MergeFrom(other.ItemValue);
			}
			if (other.buff_ != null)
			{
				if (this.buff_ == null)
				{
					this.Buff = new ChessRogueBuffInfo();
				}
				this.Buff.MergeFrom(other.Buff);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B648 RID: 46664 RVA: 0x001EC26C File Offset: 0x001EA46C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B649 RID: 46665 RVA: 0x001EC278 File Offset: 0x001EA478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num <= 18U)
					{
						if (num == 10U)
						{
							if (this.miracleInfo_ == null)
							{
								this.MiracleInfo = new ChessRogueMiracleInfo();
							}
							input.ReadMessage(this.MiracleInfo);
							continue;
						}
						if (num == 18U)
						{
							if (this.buff_ == null)
							{
								this.Buff = new ChessRogueBuffInfo();
							}
							input.ReadMessage(this.Buff);
							continue;
						}
					}
					else
					{
						if (num == 34U)
						{
							if (this.gameDifficultyInfo_ == null)
							{
								this.GameDifficultyInfo = new RogueTournGameDifficultyInfo();
							}
							input.ReadMessage(this.GameDifficultyInfo);
							continue;
						}
						if (num == 42U)
						{
							if (this.tournFormulaInfo_ == null)
							{
								this.TournFormulaInfo = new RogueTournFormulaInfo();
							}
							input.ReadMessage(this.TournFormulaInfo);
							continue;
						}
						if (num == 58U)
						{
							if (this.unlockValue_ == null)
							{
								this.UnlockValue = new KeywordUnlockValue();
							}
							input.ReadMessage(this.UnlockValue);
							continue;
						}
					}
				}
				else if (num <= 74U)
				{
					if (num == 66U)
					{
						if (this.rogueTournGameAreaInfo_ == null)
						{
							this.RogueTournGameAreaInfo = new RogueTournGameAreaInfo();
						}
						input.ReadMessage(this.RogueTournGameAreaInfo);
						continue;
					}
					if (num == 74U)
					{
						if (this.level_ == null)
						{
							this.Level = new RogueTournLevelInfo();
						}
						input.ReadMessage(this.Level);
						continue;
					}
				}
				else
				{
					if (num == 82U)
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new RogueTournLineupInfo();
						}
						input.ReadMessage(this.Lineup);
						continue;
					}
					if (num == 98U)
					{
						if (this.tournModuleInfo_ == null)
						{
							this.TournModuleInfo = new RogueTournModuleInfo();
						}
						input.ReadMessage(this.TournModuleInfo);
						continue;
					}
					if (num == 114U)
					{
						if (this.itemValue_ == null)
						{
							this.ItemValue = new RogueGameItemValue();
						}
						input.ReadMessage(this.ItemValue);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400499F RID: 18847
		private static readonly MessageParser<RogueTournCurGameInfo> _parser = new MessageParser<RogueTournCurGameInfo>(() => new RogueTournCurGameInfo());

		// Token: 0x040049A0 RID: 18848
		private UnknownFieldSet _unknownFields;

		// Token: 0x040049A1 RID: 18849
		public const int GameDifficultyInfoFieldNumber = 4;

		// Token: 0x040049A2 RID: 18850
		private RogueTournGameDifficultyInfo gameDifficultyInfo_;

		// Token: 0x040049A3 RID: 18851
		public const int MiracleInfoFieldNumber = 1;

		// Token: 0x040049A4 RID: 18852
		private ChessRogueMiracleInfo miracleInfo_;

		// Token: 0x040049A5 RID: 18853
		public const int LevelFieldNumber = 9;

		// Token: 0x040049A6 RID: 18854
		private RogueTournLevelInfo level_;

		// Token: 0x040049A7 RID: 18855
		public const int TournFormulaInfoFieldNumber = 5;

		// Token: 0x040049A8 RID: 18856
		private RogueTournFormulaInfo tournFormulaInfo_;

		// Token: 0x040049A9 RID: 18857
		public const int UnlockValueFieldNumber = 7;

		// Token: 0x040049AA RID: 18858
		private KeywordUnlockValue unlockValue_;

		// Token: 0x040049AB RID: 18859
		public const int TournModuleInfoFieldNumber = 12;

		// Token: 0x040049AC RID: 18860
		private RogueTournModuleInfo tournModuleInfo_;

		// Token: 0x040049AD RID: 18861
		public const int RogueTournGameAreaInfoFieldNumber = 8;

		// Token: 0x040049AE RID: 18862
		private RogueTournGameAreaInfo rogueTournGameAreaInfo_;

		// Token: 0x040049AF RID: 18863
		public const int LineupFieldNumber = 10;

		// Token: 0x040049B0 RID: 18864
		private RogueTournLineupInfo lineup_;

		// Token: 0x040049B1 RID: 18865
		public const int ItemValueFieldNumber = 14;

		// Token: 0x040049B2 RID: 18866
		private RogueGameItemValue itemValue_;

		// Token: 0x040049B3 RID: 18867
		public const int BuffFieldNumber = 2;

		// Token: 0x040049B4 RID: 18868
		private ChessRogueBuffInfo buff_;
	}
}
